package com.dz.lm.dao.agent.write;

import java.util.Map;

import com.dz.lm.common.exception.DaoException;
import com.dz.lm.common.utils.stereotype.WriterRepository;

@WriterRepository("writeAgentDao")
public interface AgentDao {
	
	int addAgent(Map<String, Object> param) throws DaoException;
	
	int updateAgent(Map<String, Object> param) throws DaoException;
	
	int updateAgent2(Map<String, Object> param) throws DaoException;
	
	int auditAgent(Map<String, Object> param)throws DaoException;
	
	int delAgent(Map<String, Object> param)throws DaoException;
	
	int cancelAgent(Map<String, Object> param)throws DaoException;
}